<template>
  <el-form label-width="90px" size="mini">
    <el-collapse value="1" class="customer-collapse">
      <chart-base-option :attribute="attribute" :has-legend="false" :has-color="false"></chart-base-option>
      <chart-xy-option :attribute="attribute"></chart-xy-option>
      <el-collapse-item title="柱体">
        <el-form-item label="颜色">
          <el-color-picker v-model="attribute.series.colors[0]"></el-color-picker>
          <el-color-picker v-model="attribute.series.colors[1]"></el-color-picker>
          <el-color-picker v-model="attribute.series.colors[2]"></el-color-picker>
        </el-form-item>
      </el-collapse-item>
    </el-collapse>
  </el-form>
</template>

<script>
import chartBaseOption from "@/package/options/chart/chart-base-option";
import chartXyOption from "@/package/options/chart/chart-xy-option";

export default {
  name: 'bar02-option',
  cnName: 'bar02-option',
  components: {
    chartBaseOption,
    chartXyOption
  },
  props: {
    attribute: Object
  },
  data() {
    return {}
  },
  methods: {}
}
</script>

<style lang="less" scoped>
.bar02-option {
}
</style>
